Oxygen Error Notification
Oxygen general issues.
-
- Posts: 2
- Joined: Fri Nov 08, 2019 12:09 am
Oxygen Error Notification
Hi,
I'm trying to annotate a document and I'm getting the following error notification
"Open quote is expected for attribute "ref" associated with an element type "placeName".
Does anybody know what this means?
This is my XML Code:
<settingDesc>
<listPlace>
<place xml:id="London" type="city">
<placeName>London</placeName>
<location>
<bloc>EU</bloc>
<country>United Kingdom</country>
<geo>51°30'26.5"N 0°07'39.7"W</geo>
</location>
</place>
This is what I typed into the search bar:
(London)
And this is what I typed into the replace bar:
<placeName ref=“#London”>$1</placeName>
Help would be much appreciated!
I'm trying to annotate a document and I'm getting the following error notification
"Open quote is expected for attribute "ref" associated with an element type "placeName".
Does anybody know what this means?
This is my XML Code:
<settingDesc>
<listPlace>
<place xml:id="London" type="city">
<placeName>London</placeName>
<location>
<bloc>EU</bloc>
<country>United Kingdom</country>
<geo>51°30'26.5"N 0°07'39.7"W</geo>
</location>
</place>
This is what I typed into the search bar:
(London)
And this is what I typed into the replace bar:
<placeName ref=“#London”>$1</placeName>
Help would be much appreciated!
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Oxygen Error Notification
Hello,
The XML specification requires plain ASCII double quotes for attribute values. You're using the wrong type of quotes:
This uses “ (Unicode Character 'LEFT DOUBLE QUOTATION MARK' - U+201C) on the left side and ” (Unicode Character 'RIGHT DOUBLE QUOTATION MARK' - U+201D) on the right side of #London, instead of the plain ASCII double quotes "#London".
Regards,
Adrian
The XML specification requires plain ASCII double quotes for attribute values. You're using the wrong type of quotes:
Code: Select all
<placeName ref=“#London”>$1</placeName>
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Fri Nov 08, 2019 12:09 am
Re: Oxygen Error Notification
Thank you so much for your answer Adrian!
I was able to fix my previous error, but now I am getting another error notification which says:
The value of attribute "xml:id" associated with an element type "place" must not contain the '<' character.
Is this an ASCII problem again or something else?
Regards,
Caroline
I was able to fix my previous error, but now I am getting another error notification which says:
The value of attribute "xml:id" associated with an element type "place" must not contain the '<' character.
Is this an ASCII problem again or something else?
Regards,
Caroline
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Oxygen Error Notification
Hi,
That message appears because there is no closing double quote for the attribute value. So, it's the same problem for the closing double quote, you're using ” (Unicode Character 'RIGHT DOUBLE QUOTATION MARK' - U+201D) instead of plain ".
Regards,
Adrian
That message appears because there is no closing double quote for the attribute value. So, it's the same problem for the closing double quote, you're using ” (Unicode Character 'RIGHT DOUBLE QUOTATION MARK' - U+201D) instead of plain ".
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service