OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Parsing Attibute Values containing "." in a Schema

[ Lists Home | Date Index | Thread Index ]

There's obviously something wrong either with your code or with your parser,
but since you haven't shown us your code or identified your parser it's hard
to see how anyone can help you.

Michael Kay 

# -----Original Message-----
# From: Marcus Robinson [mailto:marcus@mrict.co.uk] 
# Sent: 25 March 2004 16:41
# To: xml-dev@lists.xml.org
# Subject: [xml-dev] Parsing Attibute Values containing "." in a Schema
# 
# Hi, Can anyone help me?
# 
# I am trying to parse an XML schema in Java using an 
# XMLReader. All is well apart from:
# 
# When I parse:
# "<xsd:attributeGroup name="attr.identifierref">"
# 
# And use attribute.getValue"name", I get "identifierref".
# 
# When I parse the element:
# " <xsd:attributeGroup name="attr.identifierref.req">"
# 
# I also get "identifierref". The ".req" is lost.
# 
#  I want to get the full value, i.e. "attr.identifierref.req" 
# or attr."identifierref" , or even just "identifierref" and 
# "identifierref.req"
# . Is there a feature or property that is set incorrectly, or 
# is this not possible? The reason I want to do this is when 
# parsing the XML I want to link an attribute back to the 
# schema, but an attribute "identifierref" will refer two two 
# attributes rather than just the correct one.
# 
# Many thanks in adavance,
# 
# Marcus Robinson
# 
# 
# 
# -----------------------------------------------------------------
# The xml-dev list is sponsored by XML.org 
# <http://www.xml.org>, an initiative of OASIS 
# <http://www.oasis-open.org>
# 
# The list archives are at http://lists.xml.org/archives/xml-dev/
# 
# To subscribe or unsubscribe from this list use the subscription
# manager: <http://www.oasis-open.org/mlmanage/index.php>
# 





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS